//
//  YXTabBar.h
//  彩票
//
//  Created by mac on 15-3-25.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YXTabBar;
@class YXTabBarButton;
@protocol YXTabBarDelegate <NSObject>

- (void)tabBar:(YXTabBar *)tabBar from:(NSInteger)fromIndex to:(NSInteger)toIndex;

@end

@interface YXTabBar : UIView

@property (nonatomic,weak) id<YXTabBarDelegate> delegate;
- (void)addTabBarButton:(UITabBarItem *)item;

@end
